#!/bin/bash
#=======================
# Author : Ali Moradzade
# Created: 2022/01/13
#=======================

# script to filter out bad phone numbers

gawk --re-interval '/^\(?[2-9][0-9]{2}\)?(| |-|\.)[0-9]{3}( |-|\.)[0-9]{4}$/{print $0}'
